<?php
/**
 * 入口文件
 *
 * 统一入口，进行初始化信息
 *
 *
 * @copyright  Copyright (c) 2014-2015 TuntronKJ Inc. (http://www.tuntron.com)
 * @license    http://www.tuntron.com/
 * @link       http://www.tuntron.com/
 * @since      File available since Release v1.1
 */

error_reporting(E_ALL & ~E_NOTICE);
define('BASE_ROOT_PATH',str_replace('\\','/',dirname(__FILE__)));

define('BASE_CORE_PATH',BASE_ROOT_PATH.'/core');
define('BASE_DATA_PATH',BASE_ROOT_PATH.'/data');
define('DS','/');
define('InTuntronKJ',true);
define('StartTime',microtime(true));
define('TIMESTAMP',time());
define('DIR_ADMIN','admin');
define('DIR_API','api');
define('DIR_RESOURCE','data/resource');
define('DIR_UPLOAD','data/upload');